<?php
/**
 * Created by : PhpStorm
 * User: lihb
 * Date: 2023/7/5
 * Time: 9:53
 */

return[
    //code 类型
    'code_type'=>[
        'login'  =>1,//登录类型验证码
        'phone'  =>2,//修改邮箱验证码
        'email'  =>3,//修改邮箱验证码
        'forget' =>4,//忘记密码
        'logoff'  =>5,//注销
    ],

    //角色类型
    'role_type'=>[
        'user'=>2,//用户端
        'merchant'=>1,//商户端
    ],
    //code expire time
    'code_expire'=>60*5,

    'video_suffix'=>['avi','mov','rmvb','rm','flv','mp4','3gp'],
    'picture_suffix'=>['gif','jpg','jpeg','bmp','png'],
    //分类默认图片地址
    'category_icon_default'=>'aaa',
    'category_select_icon_default'=>'aaaAAA',
    //特征默认图片地址
    'feature_icon_default'=>'aaa',
    'feature_select_icon_default'=>'aaaAAA',
    //国家默认图片地址
    'country_icon_default'=>'bbb',
    //头像默认图
    'merchant_avatar_default'=>'uploads/default/merchant_avatar.png',
    'user_avatar_default'=>[
        'uploads/default/user_avatar_1.png',
        'uploads/default/user_avatar_2.png',
        'uploads/default/user_avatar_3.png',
        'uploads/default/user_avatar_4.png',
        ],

    'index_default_country'=>27,
    'index_default_country_name'=>'America',
    'index_default_country_abbreviation'=>'USA'
];
